import request from '@/utils/request';

// 获取权限信息
export function getInfo() {
    return request({
        url: '/permission/info',
        method: 'get'
    });
}

// 统计未读权限消息数量
export function countUnread() {
    return request({
        url: '/permission/countUnread',
        method: 'get'
    });
}

// 用户登出
export function logout() {
    return request({
        url: 'login/logout',
        method: 'get'
    });
}
